import {Http} from '../util/http2.js'

class Login {
  static async doApiLogin(data) {
    return await Http.request({
      url: '/wx/login',
      method: 'POST',
      data
    })
  }

  static async doApiTouristLogin() {
    return await Http.request({
      url: "/wx/tourist/login"
    })
  }
}

export {
  Login
}
